package com.xhs.main.dao.rsgl;

import com.xhs.main.entity.scgl.ScglWzxqjh;

import java.util.List;

public interface ScglWzxqjhDao {

    void scgl_scglWzxqjh_insert(ScglWzxqjh scglWzxqjh);
    //查询所有
    List<ScglWzxqjh> scgl_scglWzxqjh_selectAll();
    //单个查询
    ScglWzxqjh scgl_scglWzxqjh_selectOne(String scglWzxqjhDocumentnum);
    //单个查询,根据生产计划编号
    ScglWzxqjh scgl_scglWzxqjh_selectOne_byshengchanjihua(String scglWzxqjhDocumentnum);

    //分页查询
    List<ScglWzxqjh> scgl_Wzxqjh_selectAll_bylimit(Integer index, Integer pageNum);
    //模糊查询
    List<ScglWzxqjh> scgl_Wzxqjh_LikeselectAll_bylimit(
            String thisscglScjhDocumentnum, String thisscglScjhPersonincharge,
             String thisscgl_wzxqjh_mpp_id,Integer scglScjhStatus, Integer scglScjhBillsstatus, Integer index, Integer pageNum);
    //模糊查询(查询所有,不分页)
    List<ScglWzxqjh> scgl_Wzxqjh_LikeselectAll(
            String thisscglScjhDocumentnum, String thisscglScjhPersonincharge,
            String thisscgl_wzxqjh_mpp_id, Integer scglScjhStatus, Integer scglScjhBillsstatus);
    //审核通过修改数据库状态,修改确认人,确认时间
    void scgl_scglWzxqjh_updateStatus(String thisScglScjhConfirmpeople, String thisScglScjhConfirmdate, Integer thisScglScjhBillsstatus, Integer thisScglScjhStatus, String thisscglScjhDocumentnum, String thisscglScjhRemarks);

    void  scgl_scglWzxqjh_updateLast(String scgl_scjh_statementPeople,String scgl_scjh_dateofOrder,String scgl_scjh_lastUpdatePeople,String scgl_scjh_lastUpdateDate,String thisscglScjhDocumentnum);




}
